Interface Setup

The remote control interface is RS232C.

RS232C connection

Turn off the POWER switch on the KFM2151 and the controller.

Connect the KFM2151 to the PC using an RS232C cable. The RS232C cable is not included in the package.

If you are using the KFM2151 as an impedance measurement system in combination with the KFM2150, connect the KFM2150 and the KFM2151 to the PC. We recommend that the KFM2150 be connected to the PC using USB or GPIB. If you are using the RS232C, you must use a PC that has two RS232C ports.

- RS232C cable

Use a D-sub 9-pin female-to-female AT type cross cable for the RS232C cable. Fig. 1 shows the connector pin assignments.

Because the KFM2151 does not use hardware handshaking (Cross cable example2).

Fig.1 9-pin AT type connector

Protocol

Table 2 shows the RS232C protocol. Underline indicates factory default condition.

The settings are changed in the CONFIG settings.

Table 1 RS232C protocolI

Item | Setting
Connector | 9-pin D-sub terminal on the rear panel
Baudrate | 2 400 bps/ 4 800 bps/ 9 600 bps/ 19 200 bps
Data length | 7 bits or 8 bits
Stop bit | 1 bit or 2 bits
Parity | Fixed to none
XON/XOFF control | ON/ OFF

RS232C communication

Use X-Flow control or acknowledge function for RS232C communication.

Transmission/reception may not work correctly through unilateral transmission.

- X-Flow control

The transmission/reception on the KFM2151 can be controlled using Xon/Xoff. DC (device control) codes are used as control codes.

Table 2 DC codes

Code | Function | ASCII Code
DC1 | Transmission request | 11H
DC3 | Transmission stop request | 13H

Fig.2 RS232C terminal and transmission control of the KFM2151

- Acknowledge message

An acknowledge message is information sent from the KFM2151 to the controller. It notifies that the processing of the program message has been completed.

The acknowledge message is an ASCII code string consisting of only the header. The following two types are available.

• OK: Normal completion

• ERROR: Error such as a syntax error or query error

To use acknowledge messages, set Ack to On in the CONFIG settings.

On the controller, the RS232C configuration must be set to full-duplex operation.